/* CSS Document */

* {
    margin: 0;
    padding: 0;
}
html {
    height: 100%;
}
body {
    height: 100%;
    background: url(img/backgroud.png) 50% 50% no-repeat;
    background-size: cover;
}
.logo {
    width: 114px;
    height: 114px;
    margin: 50px auto 80px;
    background: url(img/login.png) 0 0 no-repeat;
}
.inside-title {
    text-align: center;
    overflow: hidden;
    font-size: 20px;
    color: aliceblue;
}
.form-login {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 430px;
    height: 550px;
    margin: -300px 0 0 -215px;
    border: 1px solid #fff;
    border-radius: 20px;
    overflow: hidden;
}
.form-item {
    position: relative;
    width: 360px;
    margin: 0 auto;
    padding-bottom: 30px;
}
.form-item input {
    width: 290px;
    height: 48px;
    padding-left: 70px;
    border: 1px solid #fff;
    border-radius: 25px;
    font-size: 18px;
    color: #fff;
	background: none;
    background-color: transparent;
    outline: none;
}
.form-item button {
    width: 360px;
    height: 50px;
    padding: 15px 20px;
    border-radius: 25px;
    border: 2px solid;
    background: none;
    outline: none;
    cursor: pointer;
    -webkit-transition: all .5s;
    transition: all .5s;
    color: #96EAB7;
    border-color: #96EAB7;
    position: relative;
    overflow: hidden;
}
.form-item button:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0px;
    width: 100%;
    height: 0;
    background-color: #96EAB7;
    z-index: -1;
    -webkit-transition: all .5s;
    transition: all .5s;
}
.form-item button:hover {
    color: #27323A;
}
.form-item button:hover:before {
    height: 100%;
}
#usr {
    background: url(img/user.png) 20px 14px no-repeat;
}
#psw {
    background: url(img/password.png) 23px 11px no-repeat;
}


html,
body,
#drops {
  --mouse-position: 0rem;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.controls {
  z-index: 2;
  color: white;
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Courier New", Courier, monospace;
  margin: 1rem;
  font-size: 0.75rem;
  animation: fade 2s 4s forwards;
}
@keyframes fade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.drop {
  width: 0.1rem;
  height: 2rem;
  left: var(--left);
  background: darkgray;
  opacity: var(--opacity);
  animation: drop linear var(--time) forwards;
  position: absolute;
  transform: rotate(var(--rotation));
}
@keyframes drop {
  from {
    top: 0;
    left: var(--left);
  }
  to {
    top: 100%;
    left: calc(var(--left) - var(--mouse-position));
  }
}
.splash {
  position: absolute;
  bottom: 0;
}
.splash:before {
  content: "";
  position: absolute;
  left: var(--left);
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: white;
  bottom: 0;
  opacity: var(--opacity);
  animation: splash var(--drop-time) cubic-bezier(0.33, 1, 0.68, 1);
}
@keyframes splash {
  0% {
    bottom: 0;
    left: var(--left);
  }
  100% {
    bottom: var(--drop-height);
    left: calc(var(--left) - calc(var(--mouse-position) / 4));
    opacity: 0;
  }
}
